//
//  NVRLeftViewCell.m
//  TestNVR
//
//  Created by xzh on 14-7-29.
//  Copyright (c) 2014年 xzh. All rights reserved.
//

#import "NVRLeftViewCell.h"

@implementation NVRLeftViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code

        _backImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 50, 50)];
        [_backImageView setImage:[UIImage imageNamed:@"home_progress_back.png"]];
        [self addSubview:_backImageView];
        _backImageView.backgroundColor = [UIColor blackColor];
//        [backImageView release];
        
        
        _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 50)];
        _label.backgroundColor = [UIColor clearColor];
        [_label setTextAlignment:NSTextAlignmentCenter];
        _label.textColor = [UIColor whiteColor];
        _label.font = [UIFont systemFontOfSize:20];
//        _label.text = titleTag;
        [_backImageView addSubview:_label];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
